package com.wxh.service.impl;


import java.util.List;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import com.wxh.common.DataGridView;
import com.wxh.domain.Billtype;
import com.wxh.mapper.BilltypeMapper;
import com.wxh.service.BilltypeService;


/**
 * <p>
 *  服务实现类
 * </p>
 */
@Service
public class BilltypeServiceImpl implements BilltypeService {
	
	@Autowired
	private BilltypeMapper billTypeMapper;
	
	@Override
	public DataGridView queryAllBillType() {
		List<Billtype> list = billTypeMapper.selectList(null);
		return new DataGridView(Long.valueOf(list.size()), list);
	}
}
